package com.shop.entity.base;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

public abstract class BaseAd<M extends BaseAd> extends Model<M> implements IBean {
    public M setId(java.lang.Long id) {
        set("id", id);
        return (M)this;
    }

    public java.lang.Long getId() {
        return getLong("id");
    }

    public M setCreateDate(java.util.Date createDate) {
        set("createDate", createDate);
        return (M)this;
    }

    public java.util.Date getCreateDate() {
        return get("createDate");
    }

    public M setModifyDate(java.util.Date modifyDate) {
        set("modifyDate", modifyDate);
        return (M)this;
    }

    public java.util.Date getModifyDate() {
        return get("modifyDate");
    }

    public M setSort(java.lang.Integer sort) {
        set("sort", sort);
        return (M)this;
    }

    public java.lang.Integer getSort() {
        return getInt("sort");
    }

    public M setContent(java.lang.String content) {
        set("content", content);
        return (M)this;
    }

    public java.lang.String getContent() {
        return getStr("content");
    }

    public M setImage(java.lang.String image) {
        set("image", image);
        return (M)this;
    }

    public java.lang.String getImage() {
        return getStr("image");
    }

    public M setTitle(java.lang.String title) {
        set("title", title);
        return (M)this;
    }

    public java.lang.String getTitle() {
        return getStr("title");
    }

    public M setType(java.lang.String type) {
        set("type", type);
        return (M)this;
    }

    public java.lang.String getType() {
        return getStr("type");
    }

    public M setIsEnabled(java.lang.Boolean isEnabled) {
        set("isEnabled", isEnabled);
        return (M)this;
    }

    public java.lang.Boolean getIsEnabled() {
        return get("isEnabled");
    }

    public M setUrl(java.lang.String url) {
        set("url", url);
        return (M)this;
    }

    public java.lang.String getUrl() {
        return getStr("url");
    }

    public M setAdPositionId(java.lang.Long adPositionId) {
        set("adPositionId", adPositionId);
        return (M)this;
    }

    public java.lang.Long getAdPositionId() {
        return getLong("adPositionId");
    }
}
